WeDevs\Dokan\Commission C

Total Complexity 119
Dependencies 6
Dependents 0
Total lines 940
Lines of code 398
Logical lines of code 245
Comment lines 403
Methods 38
Properties 3

Methods 38

Method Rating Maintainability Complexity Lines of code
prepare_for_calculation()
B
41 17 54
get_earning_by_order()
A
41 15 52
get_processing_fee()
A
57 9 15
calculate_gateway_fee()
S
44 6 45
calculate_commission()
S
57 5 19
get_category_wise_rate()
S
63 6 9
get_earning_by_product()
S
57 5 14
get_earning_from_order_table()
S
55 4 20
get_shipping_fee_recipient()
S
57 4 17
get_tax_fee_recipient()
S
57 4 17
validate_rate()
S
69 4 6
get_category_wise_additional_fee()
S
64 3 9
validate_product_id()
S
67 3 8
get_total_shipping_tax_refunded()
S
64 3 9
hide_extra_data()
S
64 3 9
get_shipping_tax_fee_recipient()
S
61 2 12
get_category_wise_earning()
S
70 2 6
get_category_wise_type()
S
70 2 5
get_all_order_to_be_processed()
S
66 2 9
get_product_wise_earning()
S
70 2 6
get_vendor_wise_additional_fee()
S
78 1 3
get_global_additional_fee()
S
78 1 3
get_product_wise_additional_fee()
S
78 1 3
__construct()
S
69 1 6
get_vendor_wise_earning()
S
79 1 3
get_global_earning()
S
79 1 3
get_vendor_wise_type()
S
79 1 3
get_global_type()
S
79 1 3
get_product_wise_rate()
S
78 1 3
get_vendor_wise_rate()
S
78 1 3
get_global_rate()
S
78 1 3
get_order_qunatity()
S
82 1 3
set_order_qunatity()
S
81 1 3
get_order_item_id()
S
82 1 3
get_order_id()
S
82 1 3
set_order_item_id()
S
80 1 3
set_order_id()
S
81 1 3
get_product_wise_type()
S
78 1 3